package com.ruoyi.coal.modules.coalpile.domain.vo;

import com.ruoyi.coal.modules.coalpile.domain.PointEntity;

public class ComparePilesVo {
    private Integer id;

    private PointEntity pointEntitymax;

    private PointEntity pointEntitymin;

    private String urlPcd;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setPointEntitymax(PointEntity pointEntitymax) {
        this.pointEntitymax = pointEntitymax;
    }

    public void setPointEntitymin(PointEntity pointEntitymin) {
        this.pointEntitymin = pointEntitymin;
    }

    public void setUrlPcd(String urlPcd) {
        this.urlPcd = urlPcd;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.ComparePilesVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.ComparePilesVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.ComparePilesVo)o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$pointEntitymax = getPointEntitymax(), other$pointEntitymax = other.getPointEntitymax();
        if ((this$pointEntitymax == null) ? (other$pointEntitymax != null) : !this$pointEntitymax.equals(other$pointEntitymax))
            return false;
        Object this$pointEntitymin = getPointEntitymin(), other$pointEntitymin = other.getPointEntitymin();
        if ((this$pointEntitymin == null) ? (other$pointEntitymin != null) : !this$pointEntitymin.equals(other$pointEntitymin))
            return false;
        Object this$urlPcd = getUrlPcd(), other$urlPcd = other.getUrlPcd();
        return !((this$urlPcd == null) ? (other$urlPcd != null) : !this$urlPcd.equals(other$urlPcd));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.ComparePilesVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $pointEntitymax = getPointEntitymax();
        result = result * 59 + (($pointEntitymax == null) ? 43 : $pointEntitymax.hashCode());
        Object $pointEntitymin = getPointEntitymin();
        result = result * 59 + (($pointEntitymin == null) ? 43 : $pointEntitymin.hashCode());
        Object $urlPcd = getUrlPcd();
        return result * 59 + (($urlPcd == null) ? 43 : $urlPcd.hashCode());
    }

    public String toString() {
        return "ComparePilesVo(id=" + getId() + ", pointEntitymax=" + getPointEntitymax() + ", pointEntitymin=" + getPointEntitymin() + ", urlPcd=" + getUrlPcd() + ")";
    }

    public ComparePilesVo() {}

    public ComparePilesVo(Integer id, PointEntity pointEntitymax, PointEntity pointEntitymin, String urlPcd) {
        this.id = id;
        this.pointEntitymax = pointEntitymax;
        this.pointEntitymin = pointEntitymin;
        this.urlPcd = urlPcd;
    }

    public Integer getId() {
        return this.id;
    }

    public PointEntity getPointEntitymax() {
        return this.pointEntitymax;
    }

    public PointEntity getPointEntitymin() {
        return this.pointEntitymin;
    }

    public String getUrlPcd() {
        return this.urlPcd;
    }
}
